extends CharacterBody2D

func _physics_process(delta):
	var right = Input.get_axis("ui_left","ui_right")
	var up = Input.get_axis("ui_up","ui_down")
	var direction = Vector2(right,up).normalized()
	velocity = direction * 200.0 * delta
	move_and_collide(velocity)
	pass
